//
//  UIImage+Extension.h
//  GiftTalk
//
//  Created by Wan on 16/3/24.
//  Copyright © 2016年 Wan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Extension)

/**
 *  按自身尺寸裁剪圆形图片
 */
- (UIImage *)circleImage;

- (UIImage *)headerImageWithRandomBorderColor;
- (UIImage *)headerImageWithBorderColor:(UIColor *)color;
- (UIImage *)imageWithCornerRadius:(CGFloat)cornerRadius;
+ (UIImage *)imageWithRoundClipImage:(UIImage *)image borderColor:(UIColor *)color borderWidth:(CGFloat)width;

@end
